package com.school.service;


import com.school.entity.PublicityTime;
import org.springframework.data.domain.Page;

public interface PublicityTimeService {
    // 新增
    PublicityTime addPublicityTime(PublicityTime publicityTime);
    // 更新
    PublicityTime updatePublicityTime(PublicityTime publicityTime);
    // 根据ID查看详情
    PublicityTime getDetailsById(String id);
    // 根据ID删除
    void deletePublicityTime(String id);
    // 根据ID批量删除
    void deletePublicityTimeList(String idList);
    // 分页查询
    Page<PublicityTime> specificPageQueryPublicityTimeList(PublicityTime publicityTime, int page, int size);
}
